#include "logindialog.h"
#include "ui_logindialog.h"
#include <QPainter>

LoginDialog::LoginDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::LoginDialog)
{
    ui->setupUi(this);

}

void LoginDialog::ShowPicture(){
    QPixmap pix;
    QPainter * painter;
    pix.load(":/image/Ireina.png");
    painter->drawPixmap(0,0,pix.width()*0.1,pix.height()*0.1,pix);
}

LoginDialog::~LoginDialog()
{
    delete ui;
}
